package com.bjut.domain;

import java.io.Serializable;
import java.util.Date;

import org.apache.struts.action.ActionForm;

public class Train  extends ActionForm implements Serializable {
	private int id;
	private String name="";
	private String purpose="";
	private Date begintime=new Date();
	private Date endtime=new Date();
	private String datum="";
	private String teacher="";
	private Date createtime=new Date();
	private boolean isEducate=false;
	private String summary="";
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPurpose() {
		return purpose;
	}
	public void setPurpose(String purpose) {
		this.purpose = purpose;
	}
	public Date getBegintime() {
		return begintime;
	}
	public void setBegintime(Date begintime) {
		this.begintime = begintime;
	}
	public Date getEndtime() {
		return endtime;
	}
	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}
	public String getDatum() {
		return datum;
	}
	public void setDatum(String datum) {
		this.datum = datum;
	}
	public String getTeacher() {
		return teacher;
	}
	public void setTeacher(String teacher) {
		this.teacher = teacher;
	}
	public Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	public boolean getIsEducate() {
		return isEducate;
	}
	public void setIsEducate(boolean isEducate) {
		this.isEducate = isEducate;
	}
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
	
	
}
